﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Principal;

namespace XCommunity.Users
{

  /// <summary>
  /// 定义权限控制项
  /// </summary>
  public interface IControlItem
  {

    bool IsSatisfied( IPrincipal user, string verb, params object[] frameObjects );

    ControlItemType ControlType { get; }

  }
}
